export const arraySplice = (arr: any[], index: number, num: number, newData?: any) => {
  arr.splice(index, num)
}
